package world.snowcrystal.commons.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("daily_invoke_log")
@JsonFormat(pattern = "yyyy-MM-dd")
public class DailyInvokeLog implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Date dateTime;
    private Long dailyInvokeCount;
    private Date createTime;
    private Date updateTime;

    @TableLogic
    private Integer isDelete;
}
